#pragma once

#include "Base/AbstractRemoteProcedure.h"
#include <QObject>
#include "Network/Connection.h"

namespace TC
{
    namespace Request
    {
        class TCCORE_EXPORT Login : public AbstractRemoteProcedure
        {
            Q_OBJECT
        public:
            Q_INVOKABLE void login(const QString &username, const QString &password);
            Q_INVOKABLE void touristLogin();
        protected:
            void onDataReady(QDataStream &stream) override;
        };
    }
}